package com.mtjx.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author 33117
 * @version 1.0
 * @data 2025/9/1 14:13
 */
@Component
@Slf4j
public class ScheduleTaks {
    @XxlJob("syncTask")
    public void syncTask() {
        log.info("开始同步数据");
        log.info("同步数据结束");
        System.out.println("-----------------------------");
    }
}
